package com.wondertek.poms.dao.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenjijiang
 * @description
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ContentFeePojo {

	/**产品id*/
	private String productId;
	/**产品id,s*/
	private String productIds;
	/**促销类型/方式  1.预售  2.预订   3.限免*/
	private String category;
	private String startTime;
	private String endTime;
	/**折扣*/
	private String disCount;
	/**节目id*/
	private String prdContId;
	/**节目id,s*/
	@NotBlank(message = "节目id不能为空")
	private String prdContIds;
	/**渠道包 基本计费删除使用  有时间和前端统一*/
	private String channelPackage;
	/**渠道包 促销计费新增使用  有时间和前端统一*/
	private String channelPackageId;
	/**渠道包Id*/
	private String channelInfoPackageIds;
	/**链接类型*/
	private String clientTypes;
	/**售价产品id*/
	private String sellingPriceProductId;
	/**定价*/
	private String price;
	/**定价*/
	private String priceId;
	/**权益id*/
	private String equityId;
	/**权益id*/
	private String equityIds;
	/**是否删除*/
	private String del;
	/**类型 1商品包 2节目id*/
	private String type;


//	ContentFee becomeContentFee(int type,String id,String chargeMode){
//		ContentFee fee= new ContentFee();
//		fee.setPomsId(Long.valueOf(id));
//		fee.setType(type);
//		fee.setSaleProductId(sellingPriceProductId);
//		fee.setPrice(product.getPrice());
//		fee.setStartTime(startTime);
//		fee.setEndTime(endTime);
//		fee.setPriceType("1");
//		fee.setSaleCategory(Integer.parseInt(category));
//		fee.setDiscount(disCount);
//		fee.setOrderFlag(product.getChargeMode());
//		fee.setPrice(product.getPrice());
//	}

}
